/*-------------------------------------------------------------------------------
 * Adaptive Intelligence - Windows Forms Controls Class Library
 * Version 2.00
 * 
 * Masked Edit Modes Enumeration
 *		Supplies the list of modes to be used by the <see cref="AdvancedTextBox"/> for 
 * masked-edit mode.
 *------------------------------------------------------------------------------*/

/*--------------------------------------------------------------------------------
 * System Imports
 *------------------------------------------------------------------------------*/
using System;

namespace Adaptive.Foundation.Windows.Forms
{
    /// <summary>
    /// Supplies the list of modes to be used by the <see cref="AdvancedTextBox"/> for 
    /// masked-edit mode.
    /// </summary>
    public enum MaskedEditMode
    {
        /// <summary>No masked edit mode is in use.</summary>
        None = 0,
        /// <summary>Execute mask edit filtering on key presses.</summary>
        KeyPress = 1,
        /// <summary>Execute mask edit filtering when the control is exited.</summary>
        Leave = 2,
        /// <summary>Execute mask edit filtering on key presses and when the control is exited.</summary>
        Both = 3
    }
}

